import 'package:flutter_plugin/page/login/login_binding.dart';
import 'package:flutter_plugin/page/login/login_view.dart';
import 'package:flutter_plugin/page/plugin/plugin_binding.dart';
import 'package:flutter_plugin/page/plugin/plugin_view.dart';
import 'package:flutter_plugin/page/webview/webview_binding.dart';
import 'package:flutter_plugin/page/webview/webview_view.dart';
import 'package:get/get.dart';

import '../page/home/home_binding.dart';
import '../page/home/home_view.dart';
import '../page/login/login_psw/login_psw_binding.dart';
import '../page/login/login_psw/login_psw_view.dart';
import '../page/login/login_sms_code/login_sms_code_binding.dart';
import '../page/login/login_sms_code/login_sms_code_view.dart';
import '../page/video_doctor/video_doctor_binding.dart';
import '../page/video_doctor/video_doctor_view.dart';

class AppRoutes {
  static const String home = '/home';
  static const String getxPlugin = "/getx_plugin";
  static const String videoDoctor = '/videoDoctor';
  static const String webview = '/webview';
  static const String login = '/login';
  static const String loginPsw = '/loginPsw';
  static const String loginSmsCode = '/loginSmsCode';

  static List<GetPage> routes = [
    GetPage(name: home, page: () => HomePage(), binding: HomeBinding()),
    GetPage(name: getxPlugin, page: () => PluginPage(), binding: PluginBinding()),
    GetPage(name: videoDoctor, page: () => VideoDoctorPage(), binding: VideoDoctorBinding()),
    GetPage(name: webview, page: () => WebviewPage(), binding: WebviewBinding()),
    GetPage(name: login, page: () => LoginPage(), binding: LoginBinding()),
    GetPage(name: loginPsw, page: () => LoginPswPage(), binding: LoginPswBinding()),
    GetPage(name: loginSmsCode, page: () => LoginSmsCodePage(), binding: LoginSmsCodeBinding()),
  ];
}
